package com.group.three.service;

import com.github.pagehelper.PageInfo;
import com.group.three.pojo.VideoTag;

import java.util.List;

public interface VideoTagService {

    PageInfo<VideoTag> selectAllTag(Integer pageNum, Integer pageSize);

    boolean deleteTagByTagId(Long TagId);

    List<VideoTag> selectByVideoTag(Long videoTag);

    List<VideoTag> searchByVideoTag(String inputText);

    boolean addNewTag(String inputData,String userName,String ip);

    List<VideoTag> searchTagLogByUserNameOrTagName(String inputText);

    Long selectTagIdByTagName(String tag);
}
